package it.avantsoft.ls.gl.command;

import it.avantsoft.ls.gl.GroupChildHandler;

public class PingCommand extends GroupChildCommand {
    public PingCommand(GroupChildHandler groupChildHandler) {
        super(groupChildHandler);
    }

    public void execute() {
        getChild().sendPong();
    }

    public String toString() {
        return "PingCommand{" +
                "child=" + getChild() +
                "}";
    }
}
